package pers.wensheng.patterns.behavioral_pattern.mediator_pattern.entity.person;

import lombok.AllArgsConstructor;
import pers.wensheng.patterns.behavioral_pattern.mediator_pattern.entity.mediator.Mediator;

/**
 * 抽象同事类
 */
@AllArgsConstructor
public abstract class Person {
    /**
     * 租房者或者房主的姓名
     */
    protected String name;
    /**
     * 中介
     */
    protected Mediator mediator;

}
